/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.tawriq.assignment2.question4.Correct.Config;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.tawriq.assignment2.question4.Correct.Animal;
import za.ac.cput.tawriq.assignment2.question4.Correct.Human;
import za.ac.cput.tawriq.assignment2.question4.Correct.HumanSpecies;
import za.ac.cput.tawriq.assignment2.question4.Correct.Mammal;

/**
 *
 * @author Tawriq
 */
@Configurable
public class Config {
    @Bean
    public Animal animal()
    {
        return new Animal();
    }
    
    @Bean
    public Human human()
    {
        return new Human();
    }
    
    @Bean
    public HumanSpecies humanSpecies()
    {
        return new HumanSpecies();
    }
    
    @Bean
    public Mammal mammal()
    {
        return new Mammal();
    }
}
